package com.intellagric.service.module.sys_office;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.SysOffice;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/12
 * @DESC： 组织机构管理服务接口
 */
public interface OfficeService {

    //增加菜单
    ResponseMessage addOffice(SysOffice SysOffice);

    //删除菜单
    ResponseMessage deleteOffice(String id);

    //修改菜单信息
    ResponseMessage editOffice(SysOffice SysOffice);

    //查询菜单
    SysOffice getOfficeById(String id);
    LayuiDataGridResult getOfficeByParentId(String id);
    LayuiDataGridResult getOfficeTree();
    LayuiDataGridResult getOfficeList();

}
